package com.mdlib.droid.module;

import android.app.Activity;
import android.content.Intent;

import com.mdlib.droid.common.JumpType;
import com.mdlib.droid.module.user.activity.MyActivity;

/**
 * 作者：HQY on 2018/11/6 15:43
 * 邮箱：hqy_xz@126.com
 */

public class UIHelper {

    public static final String JUMP_TYPE = "jump_type";


    /**
     * 我的界面跳转
     *
     * @param activity
     * @param type
     */
    public static void showMyPage(Activity activity, JumpType type) {
        Intent intent = MyActivity.newInstance(activity, type);
        activity.startActivity(intent);
    }

}
